package com.fduss.artStore.dao;

import com.fduss.artStore.entity.TypesGlass;

import java.util.List;

/**
 * @Author duocai wu
 * @Date 2017/6/24
 * @Time 20:14
 */
public interface TypesGlassDao {
    /**
     *
     * @param typesGlass
     * @return a TypesGlass with TypesGlass id
     */
    TypesGlass add(TypesGlass typesGlass);

    void delete(int typesGlassId);

    TypesGlass getOne(int typesGlassId);

    List<TypesGlass> getAll();
}
